public final class TextCaptionBxArea extends AbstractTextCaptionBxArea
| Constructor and Description |
|---|
TextCaptionBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
建构子。
|
TextCaptionBxArea(onbon.bx06.message.area.TextCaptionArea area,
Bx6GScreenProfile screenProfile) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
generate(ProgramDataBxFile dataFile)
产生区域的位元组资讯。
|
int |
getTransparency()
取得透明度。
|
boolean |
isBackgroundFlag() |
void |
maskByBackground()
显示被背景遮罩的部分。
|
void |
overlayWithBackground()
与背景重叠显示。
|
void |
setBackgroundFlag(boolean backgroundFlag) |
void |
setTransparency(int transparency)
设定透明度。
1. |
addImageFile, addPage, addText, addTextFile, clearPages, previewgetFont, getFrameMoveStep, getFrameSpeed, getFrameStyle, getHeight, getScreenProfile, getWidth, getX, getY, isFrameShow, loadFrameImage, setFont, setFrameMoveStep, setFrameShow, setFrameSpeed, setFrameStyle, toString, validatepublic TextCaptionBxArea(int x,
int y,
int width,
int height,
Bx6GScreenProfile screenProfile)
x - X 座标。y - Y 座标。width - 区域宽度。height - 区域高度。screenProfile - 屏幕规格。public TextCaptionBxArea(onbon.bx06.message.area.TextCaptionArea area,
Bx6GScreenProfile screenProfile)
public byte[] generate(ProgramDataBxFile dataFile) throws Bx6GException
BxAreagenerate in class BxAreadataFile - 资料。Bx6GException - 产生区域位元组资讯时发生错误。public int getTransparency()
public boolean isBackgroundFlag()
public void maskByBackground()
public void overlayWithBackground()
public void setBackgroundFlag(boolean backgroundFlag)
public void setTransparency(int transparency)
transparency - 透明度。